﻿using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using X23.Model.Excel;

namespace X23.EFCore.Mapping.Excel
{
    public class TaskPerformanceMapping : Mapping<TaskPerformance>
    {
        public override void OtherConfigure(EntityTypeBuilder<TaskPerformance> builder)
        {
            builder.Property(x => x.Code).HasMaxLength(100);
            builder.Property(x => x.Guid).HasMaxLength(50);
            builder.Property(x => x.FileName).HasMaxLength(20);
        }
    }
}
